package d6_map_impl;

import java.util.HashMap;
import java.util.Map;

/**
 * 2024/6/7 Cjj HashMap使用 8：54
 */
public class HashMapTest {
    public static void main(String[] args) {

        Map<Student, String> map = new HashMap<>();
        map.put(new Student("刘武",18,198.2),"动物园");
        map.put(new Student("刘武",18,198.2),"动物园");
        map.put(new Student("刘武3",15,178.2),"动物园3");
        map.put(new Student("刘武4",13,158.2),"动物园4");
        map.put(new Student("刘武5",17,178.9),"动物园7");
        System.out.println(map);
    }
}
